package com.scpii.universal.pns.entity;

/**
 * UserDevices entity. @author MyEclipse Persistence Tools
 */

public class UserDevices implements java.io.Serializable {

	// Fields

	private Long id;
	private Long userId;
	private Long deviceId;
	private Integer status;
	private String createTime;
	private Long createBy;
	private String updateTime;
	private Long updateBy;

	// Constructors

	/** default constructor */
	public UserDevices() {
	}

	/** minimal constructor */
	public UserDevices(Long userId, Long deviceId, Integer status) {
		this.userId = userId;
		this.deviceId = deviceId;
		this.status = status;
	}

	/** full constructor */
	public UserDevices(Long userId, Long deviceId, Integer status,
			String createTime, Long createBy, String updateTime, Long updateBy) {
		this.userId = userId;
		this.deviceId = deviceId;
		this.status = status;
		this.createTime = createTime;
		this.createBy = createBy;
		this.updateTime = updateTime;
		this.updateBy = updateBy;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDeviceId() {
		return this.deviceId;
	}

	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public Long getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

}